package com.lh.common.entity.admin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lh.common.annotation.ExcelExportRule;
import com.lh.common.annotation.ExcelFile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * ovmal_data_form:数据统计表
 * @author Administrator 2020-05-09
 */
@TableName("ovmal_data_form")
@Alias("dataForm")
@Data
@ExcelFile(titleName = "数据统计表")
public class DataForm implements Serializable {
    @ApiModelProperty(value = "")
    @Id
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "日期")
    @Column(name = "dataTime")
    private String datatime;

    @ApiModelProperty(value = "新增注册用户数")
    @ExcelExportRule(label = "新增注册用户数")
    @Column(name = "userCon")
    private Long usercon;

    @ApiModelProperty(value = "真实用户首次下单用户数")
    @ExcelExportRule(label = "真实用户首次下单用户数")
    @Column(name = "userCount")
    private Long usercount;

    @ApiModelProperty(value = "销售总额")
    @ExcelExportRule(label = "销售总额")
    @Column(name = "totalsales")
    private BigDecimal totalsales;

    @ApiModelProperty(value = "一元夺宝销售总额")
    @ExcelExportRule(label = "一元夺宝销售总额")
    @Column(name = "oneTotalsales")
    private BigDecimal onetotalsales;

    @ApiModelProperty(value = "普通商品销售总额")
    @ExcelExportRule(label = "普通商品销售总额")
    @Column(name = "ordinaryTotalsales")
    private BigDecimal ordinarytotalsales;

    @ApiModelProperty(value = "订单数")
    @ExcelExportRule(label = "订单数")
    @Column(name = "orderCon")
    private Long ordercon;

    @ApiModelProperty(value = "一元夺宝订单")
    @ExcelExportRule(label = "一元夺宝订单")
    @Column(name = "oneOrderCon")
    private Long oneordercon;

    @ApiModelProperty(value = "普通订单")
    @ExcelExportRule(label = "普通订单")
    @Column(name = "ordinaryOrderCon")
    private Long ordinaryordercon;

    @ApiModelProperty(value = "商品成本")
    @ExcelExportRule(label = "商品成本")
    @Column(name = "sumShopPrice")
    private BigDecimal sumshopprice;

    @ApiModelProperty(value = "普通商品成本")
    @ExcelExportRule(label = "普通商品成本")
    @Column(name = "ordinaryShopPrice")
    private BigDecimal ordinaryshopprice;

    @ApiModelProperty(value = "一元夺宝成本")
    @ExcelExportRule(label = "一元夺宝成本")
    @Column(name = "oneShopPrice")
    private BigDecimal oneshopprice;
    

    /**
     * ovmal_data_form
     */
    private static final long serialVersionUID = 1L;
}
